package com.hcj.admin.mapper;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.hcj.admin.entity.TPermission;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hcj.admin.entity.TPermissionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 权限表 Mapper 接口
 * </p>
 *
 * @author HuangChangjin
 * @since 2017-10-23
 */
public interface TPermissionMapper extends BaseMapper<TPermission> {

    List<TPermission> getByUserId(@Param("ew") Wrapper<TPermission> wrapper);
    TPermissionVo get(@Param("id") String id);
}